<layout name="../../../Resource/master"/>
<ul class="breadcrumb no-border no-radius b-b b-light pull-in">
    <li><a href="index.html"><i class="fa fa-home"></i> Home</a></li>
    <li><a href="#">属性列表管理</a></li>
    <li><a href="#">属性列表</a></li>
</ul>
<div class="m-b-md">
    <h3 class="m-b-none">属性列表</h3>
</div>
<div class="row">
    <div class="col-sm-12">
        <section class="panel panel-default">
            <header class="panel-heading font-bold">属性列表</header>
            <div class="panel-body">
                <form action="" method="post">
                    <div class="container-fluid">
                        <div class="row-fluid">
                            <div class="span12">
                                <table class="table table-bordered table-hover">
                                    <tr>
                                        <td>
                                            属性名称
                                        </td>
                                        <td>
                                            <input type="text" value="{$filed.name}" name='name'/>
                                        </td>
                                    </tr>
                                    <tr class="success">
                                        <td>
                                            属性类别
                                        </td>
                                        <td>
                                            <label><input type="radio" value="0" <if condition="$filed.type == 0 ">checked</if>  name="type" />&nbsp;属性</label>
                                            &nbsp;&nbsp;
                                            <label><input type="radio" value="1" <if condition="$filed.type == 1 ">checked</if> name="type" />&nbsp;规格</label>
                                        </td>
                                    </tr>
                                    <tr class="error">
                                        <td>
                                            属性值(多个值用 竖线 | 分隔)
                                        </td>
                                        <td>
                                            <textarea name="value" cols="100" rows="4">{$filed.value}</textarea>
                                        </td>
                                    </tr>
                                    <tr class="warning">
                                        <td colspan="2">
                                            <input type="hidden" name='tid' value='{$filed.tid}'/>
                                            <input type="submit" class="btn btn-primary" value="提交" />
                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </div>
                    </div>
                </form>
            </div>
        </section>
    </div>
</div>
